package cloud.lysky.java.on.enumclass;

/**
 * @author luoly
 * @describe
 * @date 2023/3/3 13:27
 **/
// 在接口类对枚举进行子归类
public interface Food {
    //煎菜
    enum Appetizer implements Food{
        SALAD, SOUP,SPRING_ROLLS
    }
    //主菜
    enum MainCourse implements Food{
        LASAGNE, BURRITO, PAD_THAI,
        LENTILS, HUMMUS, VINDALOO
    }
    //甜品
    enum Dessert implements Food{
        TIRAMISU, GELATO, BLACK_FOREST_CAKE,
        FRUIT,CREME_CARAMEL;
    }
    //咖啡
    enum Coffee implements Food{
        BLACK_COFFEE, DECAF_COFFEE, ESPRESSO,
        LATTE, CAPPUCCINO, TEA, HERB_TEA;
    }
}
